github.com/gotd/td/telegram/auth.Client.api (field)

14 uses

	github.com/gotd/td/telegram/auth (current package)
		bot.go#L13: 	auth, err := c.api.AuthImportBotAuthorization(ctx, &tg.AuthImportBotAuthorizationRequest{
		client.go#L11: 	api     *tg.Client
		client.go#L25: 		api:     api,
		password.go#L85: 	p, err := c.api.AccountGetPassword(ctx)
		password.go#L118: 	if _, err := c.api.AccountUpdatePasswordSettings(ctx, &tg.AccountUpdatePasswordSettingsRequest{
		password.go#L155: 	r, err := c.api.AccountResetPassword(ctx)
		password.go#L175: 	if _, err := c.api.AccountDeclinePasswordReset(ctx); err != nil {
		self.go#L15: 	users, err := c.api.UsersGetUsers(ctx, []tg.InputUserClass{&tg.InputUserSelf{}})
		user.go#L23: 	p, err := c.api.AccountGetPassword(ctx)
		user.go#L33: 	auth, err := c.api.AuthCheckPassword(ctx, &tg.InputCheckPasswordSRP{
		user.go#L79: 	sentCode, err := c.api.AuthSendCode(ctx, &tg.AuthSendCodeRequest{
		user.go#L103: 	auth, err := c.api.AuthSignIn(ctx, &tg.AuthSignInRequest{
		user.go#L123: 	_, err := c.api.HelpAcceptTermsOfService(ctx, id)
		user.go#L140: 	auth, err := c.api.AuthSignUp(ctx, &tg.AuthSignUpRequest{